How can I set the Apache server to hide html source code? Http://docs.php.net/manual/zh/intro-whatis.php
You can even set the web server to allow PHP to process all HTML files, so that the user cannot know what the server has done.
Problem:
1.
We all know that the use of annotations in HTML is Although the HTML page has been agreed in advance to write the HTML code is public, the front end is the front end, the front end is not worth the money, but, these HTML comments directly in the
In jquery, I can directly use show () and hide () to display and hide elements. This is easier than the operations in js. At the same time, show () and hide () you can also set parameters so that our operation has a cache effect. I will introduce it
This article is a performance test of jquery's various show/hide methods. The authors tested the phrase from Robert Duffy's jquery conference at San Francisco: ". Hide () and. Show () are slower to execute than direct changes to CSS." But the author
Basic usage
Show () methodShows the hidden elements.
The code is as follows
Copy Code
$ (". Btn2"). Click (function () {$ ("P"). Show ();});
Hide () hides the visible elements:
The code is as
Apache server How to set up, you can hide HTML source code content?
http://docs.php.net/manual/zh/intro-whatis.php
You can even set the Web server to allow PHP to handle
all the HTML files, so that
UserThere is no way to know what the server has
HTML annotation
Displays a comment on the client.
JSP syntax
]-->
Example 1
Generate the same data as above in the client's HTML source code:
Example 2
-->
Displayed in the client's HTML source code as:
Describe
This annotation is similar to HTML
Ng-click: Click events,Ng-hide: Controls whether a section element is hidden, true hides false displayNg-show: Controls whether an element is displayed, true shows false hiddenRefer to Page:
Display and visibility in CSS
Display and visibility syntaxes In css. They can both hide and display HTML elements. They are similar, so many people may make mistakes.Their attributes are as follows:
Display: None | block;Display: none; hide the
Today found using webmaster tools or some related tools can directly see the server using the PHP version number and the Apache version number, this is not safe for the site, if there are problems with these versions of some people can directly take
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.